package com.learn.training.multithread.chapter4.demo1;

public class MyThread extends Thread {
    @Override
    public void run() {
        int n = 0;
        while (! isInterrupted()){
            n++;
            System.out.println("hello :  " + n);
        }
    }
}
